package com.github.wxiaoqi.security.auth.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import com.cloud.share.distribution.entity.DisMemberInfo;
import com.github.wxiaoqi.security.common.msg.ObjectRestResponse;

/**
 * Created by ace on 2017/9/15.
 */
//@FeignClient(value = "${auth.serviceId}",configuration = {})
@FeignClient(value = "share-distribution",configuration = {})
public interface ServiceDistributionFeign {
    @RequestMapping(value = "/api/v1/memberAdd")
    public ObjectRestResponse<Integer> add(@RequestBody DisMemberInfo memberInfoVo);
}
